Skip to content

Conversation

Ian-Nara
Copy link
Contributor

@Ian-Nara Ian-Nara commented Oct 11, 2023

@Ian-Nara Ian-Nara assigned asloobq and unassigned asloobq Oct 11, 2023
@Ian-Nara Ian-Nara requested a review from asloobq October 11, 2023 22:10
@@ -62,7 +62,7 @@ def _create_json_request_for_generate_token(property, value, tc_string, generate
if tc_string is not None:
json_object["tcf_consent_string"] = tc_string
if not generate_for_opted_out:
json_object["policy"] = 1
json_object["optout_check"] = 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a unit test for this change ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A test exists at test_publisher_client#test_integration_optout_generate_token that will make sure it stil works after this change.

Copy link
Contributor

@cody-constine-ttd cody-constine-ttd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After Unit test GTG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants